//
//  TRViewModel.m
//  SafePay
//
//  Created by  ztryxh on 2018/6/15.
//  Copyright © 2018年 ebo. All rights reserved.
//

#import "TRViewModel.h"
#import "TRRequest.h"
@implementation TRViewModel
@synthesize request = _request;
+(instancetype)allocWithZone:(struct _NSZone *)zone{
    
    TRViewModel *viewModel=[super allocWithZone:zone];
    if(viewModel){
        
        [viewModel tr_initialize];
    }
    return viewModel;
}
-(instancetype)initWithModel:(id)model{
    
    self=[super init];
    if(self){
        
    }
    return self;
}
-(TRRequest *)request{
    
    if(!_request){
        
        _request=[TRRequest request];
    }
    return _request;
}
-(void)tr_initialize{}
@end
